import Layout from '@/layout'
export default {
  path: '/caradmin',
  component: Layout,
  redirect: '/caradmin/cartype',
  name: 'Caradmin',
  meta: {
    title: '车辆管理',
    icon: 'nested'
  },
  children: [
    {
      path: 'cartype',
      component: () => import('@/views/caradmin/cartype/index'), // Parent router-view
      name: 'Cartype',
      meta: { title: '车型管理' }
    },
    {
      path: 'carlist',
      component: () => import('@/views/caradmin/carlist/index'),
      name: 'Carlist',
      meta: { title: '车辆列表' }
    },
    {
      path: 'carregister',
      component: () => import('@/views/caradmin/carregister/index'),
      name: 'Carregister',
      meta: { title: '回车登记' }
    }
  ]
}
